package com.dp.Decorator;
/**
 * 装饰模式
 * @author Linxiaozhi
 *
 */
public class Client {
	public static void main(String[] args) {
		
		ConcreateComponent component = new ConcreateComponent();
		component.doSomething();
		AbstractComponent ac = new concreateDecorator(component);
		ac.doSomething();
	}
}
